#include <QApplication>
#include <QtGui>

#include "ui_qmainwindow.h"
#include "MyWindow.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

	MyWindow window;
	Ui::MainWindow main;
	QDoc doc;

	main.setupUi(&window);
	window.connect(&main, &doc);


	window.setVisible(true);

    return app.exec();
}